package model

type SupervisorWithDrawCreateRequest struct {
	Id             int64   `json:"id"`
	UserId         string  `json:"user_id"`
	SupervisorId   string  `json:"supervisor_id"`
	SupervisorName string  `json:"supervisor_name"`
	ItemList       string  `json:"item_list"`
	OrderCount     int     `json:"order_count"`
	TotalAmount    float64 `json:"total_amount"`
	DeductAmount   float64 `json:"deduct_amount"`
	Status         int     `json:"status"`
	Desc           string  `json:"desc"`
	OperatorId     string  `json:"operator_id"`
	Operator       string  `json:"operator"`
	CreatedAt      int64   `json:"created_at"`
	UpdatedAt      int64   `json:"updated_at"`
}
type SupervisorWithDrawUpdateRequest struct {
	Id             int64    `json:"id"`
	SupervisorId   *string  `json:"supervisor_id"`
	SupervisorName *string  `json:"supervisor_name"`
	ItemList       *string  `json:"item_list"`
	OrderCount     *int     `json:"order_count"`
	TotalAmount    *float64 `json:"total_amount"`
	DeductAmount   *float64 `json:"deduct_amount"`
	Status         *int     `json:"status"`
	Desc           *string  `json:"desc"`
	OperatorId     *string  `json:"operator_id"`
	Operator       *string  `json:"operator"`
	CreatedAt      *int64   `json:"created_at"`
	UpdatedAt      *int64   `json:"updated_at"`
}
type SupervisorWithDrawListRequest struct {
	Id             int64    `json:"id"`
	SupervisorId   *string  `json:"supervisor_id"`
	SupervisorName *string  `json:"supervisor_name"`
	ItemList       *string  `json:"item_list"`
	OrderCount     *int     `json:"order_count"`
	TotalAmount    *float64 `json:"total_amount"`
	DeductAmount   *float64 `json:"deduct_amount"`
	Status         *int     `json:"status"`
	Desc           *string  `json:"desc"`
	OperatorId     *string  `json:"operator_id"`
	Operator       *string  `json:"operator"`
	CreatedAt      *int64   `json:"created_at"`
	UpdatedAt      *int64   `json:"updated_at"`
	Index          int      `json:"index"`
	Size           int      `json:"size"`
}
type SupervisorWithDrawListResponse struct {
	Total int                       `json:"total"`
	List  []*SupervisorWithDrawInfo `json:"list"`
}
type SupervisorWithDrawInfoRequest struct {
	Id           int64  `json:"id"`
	SupervisorId string `json:"supervisor_id"`
	Status       *int   `json:"status"`
}
type SupervisorWithDrawInfo struct {
	Id             int64   `json:"id"`
	SupervisorId   string  `json:"supervisor_id"`
	SupervisorName string  `json:"supervisor_name"`
	ItemList       string  `json:"item_list"`
	OrderCount     int     `json:"order_count"`
	TotalAmount    float64 `json:"total_amount"`
	DeductAmount   float64 `json:"deduct_amount"`
	Status         int     `json:"status"`
	Desc           string  `json:"desc"`
	OperatorId     string  `json:"operator_id"`
	Operator       string  `json:"operator"`
	CreatedAt      int64   `json:"created_at"`
	UpdatedAt      int64   `json:"updated_at"`
}
type SupervisorWithDrawDeleteRequest struct {
	Id int64 `json:"id"`
}
